home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / msg_200.zip / PCB-MSG.DOC < prev    next >
Text File  |  1991-08-24  |  16KB  |  584 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.              ╔══════════════════════════════════════════════════════╗
  23.              ║                                                      ║
  24.              ║        ╓──╖ ╓──┐ ╓─╖        ╓─┐┌─╖ ╓──┐ ╓──┐         ║
  25.              ║        ╟──╜ ║    ╟─╨╖  ═══  ║ └┘ ║ ╙──╖ ║ ─╥         ║
  26.              ║        ╨    ╙──┘ ╙──╜       ╨    ╨ └──╜ ╙──╜         ║
  27.              ║                                                      ║
  28.              ║                                                      ║
  29.              ║                     Version 2.00                     ║
  30.              ║                                                      ║
  31.              ║           Copyright (c) 1991 Mark Klaamas            ║
  32.              ║                                                      ║
  33.              ╚══════════════════════════════════════════════════════╝
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.      ═════════════════════════════════════════════════════════════════
  43.  
  44.                              Table of Contents
  45.  
  46.      ═════════════════════════════════════════════════════════════════
  47.  
  48.      DISCLAIMER  . . . . . . . . . . . . . . . . . . . . . . . . .   1
  49.  
  50.      System Requirements . . . . . . . . . . . . . . . . . . . . .   1
  51.  
  52.      Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . .   1
  53.  
  54.      How Program Works . . . . . . . . . . . . . . . . . . . . . .   1
  55.  
  56.      The Command Line  . . . . . . . . . . . . . . . . . . . . . .   2
  57.  
  58.      Use of PCB-MSG  . . . . . . . . . . . . . . . . . . . . . . .   2
  59.  
  60.      Structure of the PCB-MSG.DAT File . . . . . . . . . . . . . .   3
  61.  
  62.      Set-up for file to write to ( no time ) . . . . . . . . . . .   3
  63.  
  64.      Set-up for file to write to ( with time ) . . . . . . . . . .   4
  65.  
  66.      Appendix A  ■  Files Used from PCBOARD  . . . . . . . . . . .   5
  67.  
  68.      Appendix B  ■  License Agreement  . . . . . . . . . . . . . .   6
  69.  
  70.      Appendix C  ■  Caution: The News File . . . . . . . . . . . .   6
  71.  
  72.      Appendix D  ■  Registering PCB-MSG  . . . . . . . . . . . . .   7
  73.  
  74.      Contacting the Author . . . . . . . . . . . . . . . . . . . .   8
  75.  
  76.      ═════════════════════════════════════════════════════════════════
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.      -----------------------------------------------------------------
  94.      PCB-MSG Version 2.00 Copyright 1991                       Page ii
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.        DISCLAIMER:  Use this program at your own risk.  Even though
  106.                     all  the  precautions have  been  taken  to ensure
  107.                     reliability, make  a backup  first!  This  program
  108.                     does  not physically  write or  modify any  of the
  109.                     files it uses.
  110.  
  111.                     Under NO circumstances  am I to  be held at  fault
  112.                     for anything the program might have done.
  113.  
  114.       
  115.             PCBoard is a trademark of Clark Development Company
  116.  
  117.  
  118.      System Requirements:
  119.      -------------------
  120.  
  121.                -  DOS based computer, version 2.0 or higher.
  122.                -  PCBoard software 14.x
  123.                -  15k of free ram.
  124.                -  20k of free disk space
  125.  
  126.  
  127.      Purpose:
  128.      --------
  129.  
  130.           To count  the number of messages on any PCBOARD SYSTEM(14.x)
  131.           and place the result in a user-defined place.
  132.  
  133.  
  134.      How Program Works:
  135.      -----------------
  136.  
  137.           This  program will look in the PCBOARD.DAT file and find out
  138.           where the CNAMES  file is.  Or the file  with the conference
  139.           information.   It then goes  to each message  file and reads
  140.           the number of active messages.  It then sums all the answers
  141.           for  the conferences  and writes  the final  to one  or more
  142.           specified files.
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.      -----------------------------------------------------------------
  155.      PCB-MSG Version 2.00 Copyright 1991                        Page 1
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.                                     IMPORTANT
  165.  
  166.           THIS PROGRAM ONLY READS THESE FILES,  IT IN NO WAY WRITES TO
  167.           THE PCBOARD FILES!!!
  168.  
  169.           The file(s) the program writes to are ONLY the files defined
  170.           by the user.   The file(s) are only written  to in the place
  171.           where  you have defined the  program to place  the number of
  172.           messages in.
  173.  
  174.  
  175.      The Command Line:
  176.      -----------------
  177.  
  178.           If  you load the  program with  a /p  then the  program will
  179.           create  a log  file with  a list  of conference  numbers and
  180.           names, and the number of active messages  in the conference.
  181.           This  file is called PCB-MSG.LST  and will be  placed in the
  182.           directory from which the program was run from.
  183.  
  184.           If you load the program with a /T the program  will look for
  185.           and update a line with the time the program was run.
  186.  
  187.  
  188.      Use of PCB-MSG:
  189.      ---------------
  190.  
  191.           WARNING:   This program can not be run if PCBOARD has locked
  192.                     the files using SHARE.EXE.   This only occurs when
  193.                     running a network.  This will cause the program to
  194.                     break out because it can not access the PCB files.
  195.  
  196.                     Although this  program could  be written to  use a
  197.                     network, it has been decided that this program was
  198.                     meant to be  run during  an event and  it was  not
  199.                     necessary  to  write  a  network  version.   Also,
  200.                     having  a NON-Network  version  makes the  program
  201.                     safer to run.   If a file was being  updated while
  202.                     PCB-MSG  was reading/writing  it, a  problem could
  203.                     occur.    Furthermore  I  have no  network  to  do
  204.                     testing on.
  205.  
  206.           This program can be anywhere.  It does not have to be in any
  207.           particular directory.
  208.  
  209.           If  you load the program from the  DOS prompt it will assume
  210.           you  have a  data file  created called  PCB-MSG.DAT, in  the
  211.           current directory.
  212.  
  213.  
  214.  
  215.      -----------------------------------------------------------------
  216.      PCB-MSG Version 2.00 Copyright 1991                        Page 2
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.      How to Use Colour:
  226.      ------------------
  227.  
  228.           The only way to include colour is to put a PCB @ colour code
  229.           on the  line before or the line  after the message from this
  230.           program.  At  present this program  can not handle  changing
  231.           the colours in the message line.  If demand warrents it, the
  232.           ablility to uses color could be added.
  233.  
  234.  
  235.      Structure of the PCB-MSG.DAT File:
  236.      ----------------------------------
  237.  
  238.           Line 1:  Location of PCBOARD.DAT (full path and name)
  239.           Line 2:  The name of the BBS, to be used for writing data
  240.           Line 3:  The first file you want to write to. (full path
  241.                    and name)
  242.           Line 4: same as line 3.
  243.  
  244.          The rest of the lines can be defined as files to write to.
  245.  
  246.  
  247.      Set-up for file to write to ( no time ):
  248.      ----------------------------------------
  249.  
  250.           The  first time you  set up your file(s),  you have to enter
  251.           the prompt, as explained  below.  When you add  your prompt,
  252.           put  in a dummy number of messages.  About 12 characters, as
  253.           the following example shows.
  254.  
  255.           First Time editing file example:
  256.           --------------------------------
  257.  
  258.             There are xxx,xxx,xxx messages on Mark's Test Board
  259.  
  260.  
  261.           These  x's will  be  replaced the  first  time you  run  the
  262.           program. They are  just there  so that the  program can  get
  263.           control of that part of the file.
  264.  
  265.           The prompt can occur anywhere in the text file as long as it
  266.           has it's own separate line.
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.      -----------------------------------------------------------------
  277.      PCB-MSG Version 2.00 Copyright 1991                        Page 3
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.           This program looks for the words There are (in any case) and
  287.           then the name of the BBS at the end of the line.
  288.  
  289.           Sample Output:
  290.  
  291.            There are 29,050 active messages on Mark's Test Board
  292.  
  293.  
  294.           The program will  place a line similar  to this in the  spot
  295.           where it found the old one.  Therefore, if you want the text
  296.           centered you have to center it before you run the program.
  297.  
  298.           If this line  does not  exist nothing is  done to the  file.
  299.           The only  words that you can change on this line are the BBS
  300.           Name  which is at the  end of the line.   But, this BBS Name
  301.           has  to be  the same as  the BBS  Names in  your PCB-MSG.DAT
  302.           file.
  303.  
  304.           See sample NEWS.TXT  file for an example of how  to use this
  305.           program.
  306.  
  307.  
  308.      Set-up for file to write to ( with time ):
  309.      ------------------------------------------
  310.  
  311.           Remember you have to load PCB-MSG with the  /T switch for it
  312.           to update the time.
  313.  
  314.           The first time  you set up your  file(s), you have  to enter
  315.           the prompt, as explained  below.  When you add  your prompt,
  316.           put in a  dummy number for active  messages and time as  the
  317.           following sample shows.
  318.  
  319.           First Time editing file example:
  320.           --------------------------------
  321.  
  322.               There are xxx,xxx messages on Mark's Test Board
  323.                            as of xx:xx pm today.
  324.  
  325.  
  326.           These  x's will  be  replaced the  first  time you  run  the
  327.           program. They are  just there  so that the  program can  get
  328.           control of that part of the file.
  329.  
  330.           The prompt can occur anywhere in the text file as long as it
  331.           has it's own pair of lines.
  332.  
  333.  
  334.  
  335.  
  336.  
  337.      -----------------------------------------------------------------
  338.      PCB-MSG Version 2.00 Copyright 1991                        Page 4
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.           This program looks for the words There are (in any case) and
  348.           then the name  of the BBS at  the end of the line.   And for
  349.           the time  line it  looks  for AS  OF (in  any  case) at  the
  350.           beginning of the line and  the word TODAY. (in any case)  at
  351.           the end of the line.
  352.  
  353.           Sample Output:
  354.  
  355.            There are 29,050 active messages on Mark's Test Board
  356.                             as of 3:45 pm today.
  357.  
  358.  
  359.           The program will  place lines  similar to this  in the  spot
  360.           where it  found the old  ones.   Therefore, if you  want the
  361.           text  centered  you have  to center  it  before you  run the
  362.           program.
  363.  
  364.           If this  line does  not exist nothing  is done to  the file.
  365.           The only words that you can  change on this line are the BBS
  366.           Name which is at  the end of the line.   But, this BBS  Name
  367.           has to  be the same  as the  BBS Names  in your  PCB-MSG.DAT
  368.           file.
  369.  
  370.           See  sample NEWS.TXT file for an example  of how to use this
  371.           program.
  372.  
  373.  
  374.      Appendix A  ■  Files Used from PCBOARD
  375.      --------------------------------------
  376.  
  377.      PCBOARD.DAT     - where the conference information file is.
  378.  
  379.      CNAMES.@@@      - to get the conference info. (path and name of
  380.                        msgs file) 
  381.  
  382.      Every MSGS file - Reads the 8th to 12th bytes in the file for the
  383.                        number of active messages.
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.      -----------------------------------------------------------------
  399.      PCB-MSG Version 2.00 Copyright 1991                        Page 5
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.      Appendix B  ■  License Agreement
  409.      --------------------------------
  410.  
  411.           If you have any suggestions, hints or god forbid bugs please
  412.           contact me.     
  413.  
  414.           This program has been released into SHAREWARE. You maybe
  415.           copy and use this file in any way you see fit.
  416.  
  417.           This means that if you use this program on  a regular basis,
  418.           you have to pay for it.  I feel a 30 day trial period should
  419.           be  more than  sufficient to  test if  the program  is worth
  420.           while or  not.  At  the end of  the trial period  you should
  421.           either register the program or stop using it.
  422.  
  423.           You CANNOT  modify this  file or  distribute it  without the
  424.           proper documentation.
  425.  
  426.  
  427.      Appendix C  ■  Caution: The News File
  428.      --------------------------------------
  429.  
  430.           If you  edit your news file  with a text  editor that erases
  431.           trailing  blank  spaces, make  sure  that  you  put  in  two
  432.           trailing spaces after each prompt line.  If the current line
  433.           is expanded when the  program runs, the text file  will lose
  434.           the next few characters,  which might be the signal  for the
  435.           end of the line.   Make SURE that there  are trailing spaces
  436.           on the lines with the prompts on it.
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.      -----------------------------------------------------------------
  460.      PCB-MSG Version 2.00 Copyright 1991                        Page 6
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.      Appendix D  ■  Registering PCB-MSG
  470.      ----------------------------------
  471.  
  472.      Why Register?
  473.  
  474.           The  only reason  you have  to register  this program  is to
  475.           fulfil  the agreement of shareware.  There are no disks sent
  476.           out and  no  added features  are available  in a  registered
  477.           copy.   The ONLY copy of  the program is the  one in the ZIP
  478.           file.
  479.  
  480.           In my opinion, registering a program  should be done because
  481.           the author spent  his time  to create the  program.  If  you
  482.           register, it shows your appreciation to the author.
  483.  
  484.      What you get.
  485.  
  486.           The only thing you  get from registering PCB-MSG is  a sense
  487.           that you have supported the SHAREWARE concept.  As well, any
  488.           suggestions you  make will  be looked  at very  carefully by
  489.           myself.
  490.  
  491.           There is no DISK  shipped with your registration.   The only
  492.           thing you would get is a letter of thanks from myself.
  493.  
  494.  
  495.      How to Register.
  496.  
  497.           I can not  except credit cards.   Payment should only  be in
  498.           the form of a money order or check.
  499.  
  500.           Remit to:
  501.                                                             
  502.                                  Mark Klaamas
  503.                                  13 Apollo Court
  504.                                  Halifax, NS
  505.                                  Canada
  506.                                  B3M 1G9
  507.  
  508.  
  509.           The registration fee for this program is $5.00.
  510.  
  511.           Please include your name, mailing address.
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.      -----------------------------------------------------------------
  521.      PCB-MSG Version 2.00 Copyright 1991                        Page 7
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.      Contacting the Author:
  531.      ----------------------
  532.  
  533.           I can be reached, on  various networks.  The best places  to
  534.           find me are:
  535.  
  536.                          NA-NET IBM Conference
  537.                          NA-NET COMM Conference
  538.  
  539.                          U'NI-NET TECH Conference
  540.                          U'NI-NET Shareware Conference
  541.  
  542.                          ILINK Shareware Conference
  543.  
  544.           I  do  follow  different   conferences  but  these  are  not
  545.           appropriate  conferences for  questions related  to PCB-MSG.
  546.           Alternatively, you  could  send me  a  letter at  the  above
  547.           address.
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.      -----------------------------------------------------------------
  582.      PCB-MSG Version 2.00 Copyright 1991                        Page 8
  583.  
  584.